package com.example.demo.service.impl;

import com.example.demo.mapper.UserAuthorityMapper;
import com.example.demo.service.UserAuthorityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserAuthorityServiceImpl implements UserAuthorityService {

    @Autowired
    UserAuthorityMapper userAuthorityMapper;

    @Override
    public int insertUserAuthorityByUserId(Integer userId) {
        return userAuthorityMapper.insertUserAuthorityByUserId(userId);
    }
}
